package top.whysu.edevice.service.relative;

import org.springframework.transaction.annotation.Transactional;

import java.math.BigDecimal;
import java.util.List;

/**
 * 秘钥-token关联关系
 */
public interface RelativeSecretKeyTokenService {
    /**
     * 处理
     *
     * @param secretKeyId 秘钥id
     * @param accessToken 萤石Token
     * @param expireTime  萤石Token过期时间
     */
    @Transactional
    void wholeSecretKeyToken(BigDecimal secretKeyId, String accessToken, Long expireTime);
}
